package com.hanthink.system.domain.repair;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hanthink.common.annotation.Excel;


import java.util.Arrays;
import java.util.Date;
import java.util.List;

/**
 * @author Administrator 维修计划
 */
public class RepairPlan {

    /**
     * 维修计划id
     */
    private Long id;
    /**
     * 设备Key
     */
    private String equipno;
    /**
     * 设备名称
     */
    private String equipname;
    /**
     * 原因
     */
    private String reason;
    /**
     * 更换部件
     */
    private String changeparts;
    /**
     * 周期
     */
    private String cycle;
    /**
     * 是否生效
     */
    @Excel(name = "设备状态(1：运行 0：停机)")
    private String eqStatus;
    /**
     * 状态
     */
    private String status;
    /**
     * 来源
     */
    private String resourcefrom;
    /**
     * 隐患内容
     */
    private String troublecontent;
    /**
     * 隐患创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;
    private String hangameKey;
    private String siteKey;
    private String department;
    private String piclist;

    /** 下次执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下次执行时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date nextExecuteTime;
    private Boolean manageragree;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public String getEquipno() {
        return equipno;
    }

    public void setEquipno(String equipno) {
        this.equipno = equipno;
    }

    public String getEquipname() {
        return equipname;
    }

    public void setEquipname(String equipname) {
        this.equipname = equipname;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
    public String getChangeparts() {
        return changeparts;
    }

    public void setChangeparts(String changeparts) {
        this.changeparts = changeparts;
    }
    public String getCycle() {
        return cycle;
    }

    public void setCycle(String cycle) {
        this.cycle = cycle;
    }
    public String getEqStatus() {
        return eqStatus;
    }

    public void setEqStatus(String eqStatus) {
        this.eqStatus = eqStatus;
    }
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setNextExecuteTime(Date nextExecuteTime) {
        this.nextExecuteTime = nextExecuteTime;
    }

    public Date getNextExecuteTime() {
        return nextExecuteTime;
    }

    public String getResourcefrom() {
        return resourcefrom;
    }
    public void setResourcefrom(String resourcefrom) {
        this.resourcefrom = resourcefrom;
    }
    public String getTroublecontent() {
        return troublecontent;
    }
    public void setTroublecontent(String troublecontent) {
        this.troublecontent = troublecontent;
    }
    public Date getCreatetime() {
        return createtime;
    }
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getHangameKey() {
        return hangameKey;
    }

    public void setHangameKey(String hangameKey) {
        this.hangameKey = hangameKey;
    }
    public String getSiteKey() {
        return siteKey;
    }

    public void setSiteKey(String siteKey) {
        this.siteKey = siteKey;
    }
    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getPiclist() {
        return piclist;
    }

    public void setPiclist(String piclist) {
        this.piclist = piclist;
    }
    public Boolean getManageragree() {
        return manageragree;
    }

    public void setManageragree(Boolean manageragree) {
        this.manageragree = manageragree;
    }
}
